//
// Unihan Input Method
//
// Copyright © 2002-2007 Sun Wah Linux Ltd.
//
//
// This library is free software; you can redistribute it and/or modify
// it under the terms of the GNU Lesser General Public License as
// published by the Free Software Foundation; either version 2.1 of the
// License, or (at your option) any later version.
//
// This library is distributed in the hope that it will be useful, but
// WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
// Lesser General Public License for more details.
//
// You should have received a copy of the GNU Lesser General Public
// License along with this program; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307
// USA
//
// $Id: unihan-gconf.h 796 2007-06-30 19:00:01Z roger $
//

/*
** $Id: unihan-gconf.h 796 2007-06-30 19:00:01Z roger $
**
** This is all the GConf keys used by the Unihan client
** The client sends the information in these keys to the server; the 
** server knows nothing about these keys.
*/

#ifndef __UNIHAN_GCONF_H
#define __UNIHAN_GCONF_H

#define GCONF_IM_DEL 0
#define GCONF_IM_ADD 1

#define UNIHAN_ROOT_KEY    "/apps/sw-unihan"

#define TC_SC_KEY          UNIHAN_ROOT_KEY "/general/tc_sc_conv"
#define DEFAULT_IM_KEY     UNIHAN_ROOT_KEY "/input_methods/default"
#define CHECK_MODULE_INFO_KEY		UNIHAN_ROOT_KEY "/input_methods/check_module_info"


#define PREEDIT_FONT_KEY   UNIHAN_ROOT_KEY "/gnome_aux/lookup/preedit_font"
#define PREEDIT_FG_KEY     UNIHAN_ROOT_KEY \
				"/gnome_aux/lookup/preedit_foreground"
#define PREEDIT_BG_KEY     UNIHAN_ROOT_KEY \
				"/gnome_aux/lookup/preedit_background"


#define CANDIDATE_FONT_KEY UNIHAN_ROOT_KEY "/gnome_aux/lookup/candidate_font"
#define CANDIDATE_HORIZONTALLY_KEY UNIHAN_ROOT_KEY "/gnome_aux/lookup/candidate_horizontally"
#define CANDIDATE_FG_KEY   UNIHAN_ROOT_KEY \
				"/gnome_aux/lookup/candidate_foreground"
#define CANDIDATE_BG_KEY   UNIHAN_ROOT_KEY \
				"/gnome_aux/lookup/candidate_background"
#define CANDIDATE_ALPHA_KEY UNIHAN_ROOT_KEY \
                                "/gnome_aux/lookup/candidate_alpha"


#define NUMBER_FONT_KEY    UNIHAN_ROOT_KEY "/gnome_aux/lookup/number_font"
#define NUMBER_FG_KEY      UNIHAN_ROOT_KEY "/gnome_aux/lookup/number_foreground"
#define NUMBER_BG_KEY      UNIHAN_ROOT_KEY "/gnome_aux/lookup/number_background"

#define STATUS_FONT_KEY    UNIHAN_ROOT_KEY "/gnome_aux/lookup/status_font"
#define STATUS_FG_KEY      UNIHAN_ROOT_KEY "/gnome_aux/lookup/status_foreground"
#define STATUS_BG_KEY      UNIHAN_ROOT_KEY "/gnome_aux/lookup/status_background"

#define STATUS_IN_TRAY_KEY UNIHAN_ROOT_KEY "/gnome_aux/status/status_in_tray"

#define PHRASE_MODE_KEY    UNIHAN_ROOT_KEY "/general/phrase_mode"
#define USE_GOOGLE_SUGGEST_KEY UNIHAN_ROOT_KEY "/general/use_google_suggest"

#define STATUS_IM_DEL_KEY  UNIHAN_ROOT_KEY "/gnome_aux/status/imdel"
#define STATUS_IM_ADD_KEY  UNIHAN_ROOT_KEY "/gnome_aux/status/imadd"
#define STATUS_COMMAND_KEY UNIHAN_ROOT_KEY "/gnome_aux/status/command"
#define STATUS_IM_SHIFT_UP UNIHAN_ROOT_KEY "/gnome_aux/status/shift_up"
#define STATUS_IM_SHIFT_DOWN UNIHAN_ROOT_KEY "/gnome_aux/status/shift_down"
#define STATUS_WTPEN	UNIHAN_ROOT_KEY "/gnome_aux/status/wtpen"
#define WTPEN_DEFAULT	"wtpen_default"
#define WTPEN_BACKSPACE "backspace"

#define PREFEDIT_SYMBOL_DEL_KEY UNIHAN_ROOT_KEY "/gnome_aux/prefedit/symboldel"
#define PREFEDIT_WORD_DEL_KEY UNIHAN_ROOT_KEY "/gnome_aux/prefedit/worddel"
#define PREFEDIT_COMMAND_KEY UNIHAN_ROOT_KEY "/gnome_aux/prefedit/command"
#define PREFEDIT_IM_CURR_LIST_PREPEND_KEY UNIHAN_ROOT_KEY "/gnome_aux/prefedit/im_curr_list_prepend"


#define PREFEDIT_UNISPIM_SET_KEY UNIHAN_ROOT_KEY "/gnome_aux/prefedit/unispim"
/* value zero */
#define IM_ADD_ZERO 	"im_add_zero"
#define IM_DEL_ZERO	"im_del_zero"
#define DEFAULT_IM_ZERO "default_im_zero"

#endif /* __UNIHAN_GCONF_H */

// vi:ts=4:nowrap:cin:expandtab
